package com.zzk.lanouhn.myapplication1.view;

import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

import com.zzk.lanouhn.myapplication1.R;

/**
 * Created by lanouhn on 16/9/19.
 */
public class CollectDialog extends Dialog {
    public CollectDialog(Context context) {
        super(context, R.style.CustomDialog);
        setCustomDialog();
    }

    private void setCustomDialog() {
        View view = LayoutInflater.from(getContext()).inflate(R.layout.collectdialog, null);
        super.setContentView(view);
    }
}
